﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Treely.Data.Repositories
{
    public interface IRepository<T>
    {
        IEnumerable<T> Get();

        T Get(int id);

        void Store(T obj);

        void Delete(int targetId, string userId);
    }
}